/*
 * WaterSuppliesGetterVisitor.cpp
 *
 *  Created on: 12-01-2011
 *      Author: Przemek
 */

#include "world/visitors/WaterSuppliesGetterVisitor.hpp"
using std::vector;

void WaterSuppliesGetterVisitor::visit(Individual&)
{

}

void WaterSuppliesGetterVisitor::visit(Barrier&)
{

}

void WaterSuppliesGetterVisitor::visit(MeatSupply&)
{

}

void WaterSuppliesGetterVisitor::visit(VegetableSupply&)
{
}

void WaterSuppliesGetterVisitor::visit(WaterSupply& waterSupply)
{
	waterSupplies.push_back(&waterSupply);
}

const vector<WaterSupply*> WaterSuppliesGetterVisitor::getVector()
{
	return waterSupplies;
}
